//
//  UIImage+D_Image.m
//  EraserRubber_2_SaijT
//
//  Created by 丁诚昊 on 15/12/2.
//  Copyright © 2015年 ZSTech.iOS.丁诚昊(831). All rights reserved.
//

#import "UIImage+D_Image.h"

@implementation UIImage (D_Image)
+ (UIImage *)resizedImage:(NSString *)name
{
    UIImage *_oriImg = [UIImage imageNamed:name];
    
    return [_oriImg stretchableImageWithLeftCapWidth:_oriImg.size.width  * 0.5
                                        topCapHeight:_oriImg.size.height * 0.5];
}
@end
